import Vue from "vue";
import VueRouter from "vue-router";
import { staticRoute } from "./routes";
Vue.use(VueRouter);

console.log(staticRoute,1221212);
const router = new VueRouter({
  routes: staticRoute,
  scrollBehavior() {
    return { x: 0, y: 0 };
  },
});

export default router;
